package com.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Teacher {
    private int tid;
    private String name;
    /*
    * 一个老师包含多个学生*/
    private List<Student> students;

}
